package com.it.hanzhongtravelv1.repository;

import com.it.hanzhongtravelv1.entity.CulturalActivity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface CulturalActivityRepository extends JpaRepository<CulturalActivity, Long> {
    List<CulturalActivity> findByTitleContaining(String title);
    List<CulturalActivity> findAllByOrderByStartDateAsc();
} 